package com.ruoyi.ams.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.ams.domain.AmsAssetAllocation;

import java.util.List;

/**
 * 资产调拨Service接口
 * 
 * @author yfkj
 * @date 2022-05-16
 */
public interface IAmsAssetAllocationService  extends IService<AmsAssetAllocation>
{
    /**
     * 查询资产调拨
     * 
     * @param allocationId 资产调拨主键
     * @return 资产调拨
     */
    public AmsAssetAllocation selectAmsAssetAllocationByAllocationId(Long allocationId);

    /**
     * 查询资产调拨列表
     * 
     * @param amsAssetAllocation 资产调拨
     * @return 资产调拨集合
     */
    public List<AmsAssetAllocation> selectAmsAssetAllocationList(AmsAssetAllocation amsAssetAllocation);

    /**
     * 新增资产调拨
     * 
     * @param amsAssetAllocation 资产调拨
     * @return 结果
     */
    public int insertAmsAssetAllocation(AmsAssetAllocation amsAssetAllocation);

    /**
     * 修改资产调拨
     * 
     * @param amsAssetAllocation 资产调拨
     * @return 结果
     */
    public int updateAmsAssetAllocation(AmsAssetAllocation amsAssetAllocation);

    /**
     * 批量删除资产调拨
     * 
     * @param allocationIds 需要删除的资产调拨主键集合
     * @return 结果
     */
    public int deleteAmsAssetAllocationByAllocationIds(Long[] allocationIds);

    /**
     * 删除资产调拨信息
     * 
     * @param allocationId 资产调拨主键
     * @return 结果
     */
    public int deleteAmsAssetAllocationByAllocationId(Long allocationId);
}
